home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Frameworks / Grant's CGI Framework 1.0b14 / Util / ErrorUtil.h < prev    next >
C/C++ Source or Header  |  1996-04-10  |  672b  |  33 lines

  1. #pragma once
  2. /*****
  3.  *
  4.  *    ErrorUtil.h
  5.  *
  6.  *    This is a support file for "Grant's CGI Framework".
  7.  *    Please see the license agreement that accompanies the distribution package
  8.  *    for licensing details.
  9.  *
  10.  *    Copyright ©1995,1996 by Grant Neufeld
  11.  *    grant@acm.com
  12.  *    http://arpp.carleton.ca/grant/
  13.  *
  14.  *****/
  15.  
  16. /***  CONSTANT DECLARATIONS  ***/
  17.  
  18. #define krErrSystemDefault        300
  19. #define krStartupErrorStrs        301
  20.  
  21. #define ksErrSystemDefault        "\pAn error was encountered in a system call."
  22.  
  23.  
  24. /***  FUNCTION PROTOTYPES  ***/
  25.  
  26. p_export void    ErrorSystemHandler    ( OSErr, Boolean );
  27. p_export void    ErrorStartup        ( short );
  28.  
  29. #define ErrorSystem(e)    ErrorSystemHandler(e,true)
  30.  
  31.  
  32. /* EOF */
  33.